// __PUBLIC__/js/page/cms/blockclassify/addclassify
require(['../../common'], function() {
  require(['blockclassify.addclassify'])
})

define('blockclassify.addclassify', [
  'jquery',
  'jqp/validate'
], function($) {
  'use strict';

  var $form = $('#J_form')

  $form.validate({
    classPlace: '.kv',
    errorPlace: '.kv-error',
    errors: {
      'classify_name': {
        required: '分类名称不能为空'
      }
    }
  })
})
